package com.dd.service;

import com.dd.pojo.Commodity;

import java.util.List;

public interface CommodityService {
    List<Commodity> selectcom();

    //添加
    int addcom(Commodity commodity);

    //修改
    int updatecombyid(Commodity commodity);

    //删除
    int deletecombyid(int id);

    List<Commodity> selectbycname(String cname);
}
